package kr.hkit.powerjava.chapter12.Programming05;

public class Shpere extends Shape implements ThreeDimshape {

	double r;
	
	@Override
	public double getVolume() {
		// V=4/3πr
		return PI * r * 3 / 4;
	}

}
